home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_100 / 144_01 / 2up.hlp < prev    next >
Text File  |  1985-08-19  |  3KB  |  62 lines

  1. *********************************************************************
  2. *                             2UP                                    *
  3. **********************************************************************
  4. *                  COPYRIGHT 1983 EUGENE H. MALLORY                  *
  5. **********************************************************************
  6. PROGRAM:
  7.     2UP - Format text into one or more columns.
  8.  
  9. USAGE:
  10.     2UP [<fid [-Nn] [-Cn] [-Ln] [-Mn] [-W] [-Sn] [-H] [>fid]
  11.  
  12. FUNCTION:
  13.     This is a pure filter which formats text into one or more columns.
  14.     It has several parameters which can be set on the command line.
  15.     
  16.     -Ln sets the page length. Default is 66. Maximum is 88.
  17.     
  18.     -Mn sets the left margin width.  It is normally zero.
  19.     
  20.     -Cn sets the column width after the left margin. Defaults to
  21.         divide 80 columns evenly.
  22.     
  23.     -Nn Sets the number of columns from 1 to 99.  2 is default.
  24.     
  25.     -Sn Sets the spacing between columns. Default is zero.
  26.     
  27.     -W waits at the begining of each page. This is only useful
  28.     when paging material to the screen.  A CR releases the wait.
  29.     
  30.     -H displays the available options.
  31.     
  32. EXAMPLE:
  33.     LS *.* |2UP -L22 -W -L5             {Shows file names nicely.}
  34.     2UP <FILE.TXT -M10 -C28 -S4 <FILE.TXT {Nice vertical 2 column print}
  35.     2UP <FILE.TXT -M10 -N1 >FILE.TXT      {Puts a margin on text.}
  36.  
  37. COMMENTS:
  38.     Lines with backspaces or cr will not work properly with this
  39.     program.  It counts the number of characters without regard for
  40.     non-printing characters.
  41.     
  42.     Output generated by a text formatter or by page works well with 
  43.     this as long as underlining, bolding or other overstrike
  44.     actions are not done.
  45.  
  46.     Maximum column width is 132 characters.
  47.     
  48.         Command Line                       
  49. ___________________________________  
  50.                                   |  
  51.                                   |  
  52.                                   |  
  53.                                   | OPTIONS
  54.                                   |                  
  55.                     ______________V______________    
  56.  Standard Input     |                           |   Standard Output
  57.      TEXT           |                           |   MULTI-COLUMN TEXT
  58. ------------------->|          2UP              |----------------------->
  59.                     |                           |
  60.                     |                           |
  61.                     |___________________________|
  62.